package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_omc_hua_long_roster_item")
public class OmcHuaLongRosterItem extends BaseEntity {

    /**
     * 排班Id
     */
    @Column(name = "roster_id")
    private Long rosterId;

    /**
     * 护工Id
     */
    @Column(name = "nurse_id")
    private Integer nurseId;

    /**
     * 护工姓名
     */
    @Column(name = "nurse_name")
    private String nurseName;

    /**
     * 星期
     */
    private String week;

    /**
     * 日期
     */
    private String day;

    /**
     * 班次 早-夜-休
     */
    private String shift;

    /**
     * 是否强休 0-否 1-是
     */
    @Column(name = "is_strong")
    private Integer isStrong;

    /**
     * 备注
     */
    private String remark;

    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 创建人ID
     */
    @Column(name = "creator_id")
    private Long creatorId;

    /**
     * 创建时间
     */
    @Column(name = "created_time")
    private Date createdTime;

    /**
     * 最近操作人
     */
    @Column(name = "last_operator")
    private String lastOperator;

    /**
     * 最后操作人ID
     */
    @Column(name = "last_operator_id")
    private Long lastOperatorId;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;
}